package com.eCommerce.corecontract.dto;

import java.io.Serializable;

public class LigneCommandeDTO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * @return the nbComposant
	 */
	public long getNbComposant() {
		return nbComposant;
	}
	/**
	 * @param nbComposant the nbComposant to set
	 */
	public void setNbComposant(long nbComposant) {
		this.nbComposant = nbComposant;
	}
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 
	 */
	public LigneCommandeDTO() {
		super();
	}

	/**
	 * @param nbComposant
	 * @param composantDTO
	 */
	public LigneCommandeDTO(long nbComposant, ComposantDTO composantDTO) {
		super();
		this.nbComposant = nbComposant;
		this.composantDTO = composantDTO;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	private long nbComposant;
	private Long id;
	private ComposantDTO composantDTO;
	public ComposantDTO getComposantDTO() {
		return composantDTO;
	}
	public void setComposantDTO(ComposantDTO composantDTO) {
		this.composantDTO = composantDTO;
	}
	

}
